<%@ page language="java" import="java.util.*"
	contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>我的LINEFRIEND</title>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" href="assets/css/User.css" charset="utf-8" />
		<link rel="stylesheet" href="assets/css/Header.css" type="text/css" />
		<link rel="stylesheet" href="assets/css/BT.css" type="text/css" />
		<link rel="stylesheet" href="assets/css/Search.css" type="text/css" />
		<link rel="stylesheet" href="assets/css/Personality.css"
			type="text/css" />
		<link rel="stylesheet" href="assets/css/Footer.css" type="text/css"
			charset="utf-8" />

		<script language="JavaScript" src="assets/js/addToFavorite.js"
			type="text/javascript" charset="utf-8"></script>
		<script language="JavaScript" src="assets/js/AdminEmail.js"
			type="text/javascript" charset="utf-8"></script>
		<script language="javascript" src="assets/js/windowOpen.js"
			type="text/javascript" charset="utf-8"></script>
		<script language="JavaScript" src="assets/js/backTop.js"
			type="text/javascript" charset="utf-8"></script>
		<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
		<style>
.inf {
	width: 800px;
	height: 100px;
}

.info-lcol {
	width: 200px;
	text-align: center;
	float: left;
}

.u-pic {
	width: 100px;
	display: inline;
}

.info-m {
	width: 100px;
	display: inline;
}

.u-name a {
	text-decoration: none;
}

.u-level a {
	text-decoration: none;
}

.user-counts {
	float: left;
	width: 480px;
}

.user-counts ul {
	list-style: none;
}

.user-counts li {
	margin-top: 40px;
	float: left;
	width: 100px;
}

.user-counts a {
	text-decoration: none;
}

.right {
	margin-top: 60px;
	float: right;
	margin-right: 10px;
}

.right a {
	text-decoration: none;
}

.right label {
	height: 30px;
}

#AllOrders {
	height: 240px;
}

.all {
	width: 800px;
	height: 450px;
	background-color: #FFF;
}

.head {
	padding-top: 30px;
	width: 800px;
	text-align: center;
}

.item {
	padding-left: 30px;
	padding-right: 30px;
	width: 440px;
	margin-top: 30px;
}

#submit {
	height: 25px;
	width: 35px;
}

#text1,#text2,#text3,#text4 {
	border: 1px solid #c8cccf;
	height: 25px;
}

.tj {
	border-radius: 4px 4px 4px 4px;
	text-decoration: none;
	float: right;
	margin-right: 50px;
	text-align: center;
	border: #000 1px solid;
}
</style>
	</head>
	<body>
		<div id="header">
			<div class="header1">
				<b></b><a rel="sidebar" onclick=
	addToFavorite();
href="#"><img
						style="position: relative; top: 2px;"
						src="assets/homeImages/love2.jpg" height="12" width="12" />&nbsp;&nbsp;收藏Line
					friend</a>
			</div>
			<div class="header2">
				<nav class="nav">
				<ul class="nav__menu">
				
				
					<%
						String email = (String) session.getAttribute("email");
						if (email == null) {
					%>
					<li class="nav__menu-item">
						<a href="UserLogin.jsp">你好！请登录</a>
					</li>
					<li class="nav__menu-item">
						<a href="UserRegister.jsp">免费注册</a>
					</li>
					<%
						} else {
					%>
					<li class="nav__menu-item">
						你好！${email}
					</li>
					<li class="nav__menu-item">
						<a href="logout.action">退出登录</a>
					</li>
					<li class="nav__menu-item">
						<a href="userOrder.action">我的订单</a>
					</li>
					<%
						}
					%>

					
					
					<li class="nav__menu-item">
						客户服务^
						<ul class="nav__submenu">
							<li class="nav__submenu-item">
								<a href="UserQuestion.html">常见问题</a>
							</li>
							<li class="nav__submenu-item">
								<a href="javascript:AdminEmail()">客服邮箱</a>
							</li>
						</ul>
					</li>
					<li class="nav__menu-item">
						网站导航^
						<ul class="nav__submenu">
							<li class="nav__menu-item">
								<a href="home.jsp">网站主页</a>
							</li>
							<li class="nav__menu-item">
								<a href="GoodsSearch.jsp">商品检索</a>
							</li>
							<li class="nav__menu-item">
								<a href="User.jsp">用户管理</a>
							</li>
							<li class="nav__menu-item">
								<a href="showCart.action">购物车</a>
							</li>
							<li class="nav__menu-item">
								<a href="userOrder.action">我的订单</a>
							</li>
							<li class="nav__menu-item">
								<a href="gotoFavouriteList.action?email=${email}">我的收藏</a>
							</li>
						</ul>
					</li>
				</ul>
				</nav>
			</div>
		</div>

		<div class="clearfloat"></div>
		<div id="con">
			<div id="Search">
				<div class="Search1">
					<a href="home.jsp"><img src="assets/homeImages/logo.png"
							width="195" height="60" />
					</a>
					<div class="welcome">
						<font size="+6" color="#CCCCCC">|</font><font size="+2">我的LINE</font>
					</div>
				</div>
				<div class="Search2">
					<form action="" method="get">
						<input id="Search21" type="text" name="search"
							placeholder="请输入搜索关键词" size="20" />
						<input id="Search22" type="button" value="搜索" />
					</form>
					<div class="Search3">
						<div class="Search31">
							热门搜索：
							<a href="#">夏威夷果</a>&nbsp;&nbsp;
							<a href="#">芒果干</a>&nbsp;&nbsp;
							<a href="#">肉脯</a>
						</div>
					</div>
				</div>
				<div class="Search4">
					<div class="Search41">
						<img src="assets/homeImages/小人.png" width="20" height="20" />
					</div>
					<div class="Search42" style="width: 135px;">
						<a href="User.jsp">我的LINE FRIEND</a>
					</div>
				</div>
				<div class="Search5">
					<div class="Search51">
						<img src="assets/homeImages/购物车小图标.png" width="20" height="20" />
					</div>
					<div class="Search52">
						<a href="showCart.action">去购物车结算</a>
					</div>
				</div>
			</div>
			<div class="content2">
				<div class="bt">
					<ul class="bt0">
						<li class="bt1" style="width: 224px;">
							<a target="_blank" href="#">全部商品品牌分类</a>
							<ul class="bt2">
								<li class="bt3">
									<a href="nut.html"><img src="assets/homeImages/logo/1.png"
											height="30" />&nbsp;&nbsp;&nbsp;坚果炒货</a>
								</li>
								<li class="bt3">
									<a href="fruit.html"><img
											src="assets/homeImages/logo/2.png" height="30" />&nbsp;&nbsp;&nbsp;果干蜜饯</a>
								</li>
								<li class="bt3">
									<a href="meat.html"><img src="assets/homeImages/logo/3.png"
											height="30" />&nbsp;&nbsp;&nbsp;肉类熟食</a>
								</li>
								<li class="bt3">
									<a href="biscuit.html"><img
											src="assets/homeImages/logo/4.png" height="30" />&nbsp;&nbsp;&nbsp;饼干膨化</a>
								</li>
								<li class="bt3">
									<a href="biscuit.html"><img
											src="assets/homeImages/logo/5.png" height="30" />&nbsp;&nbsp;&nbsp;糕点点心</a>
								</li>
								<li class="bt3">
									<a href="fruit.html"><img
											src="assets/homeImages/logo/6.png" height="30" />&nbsp;&nbsp;&nbsp;素食豆类</a>
								</li>
								<li class="bt3">
									<a href="seafood.html"><img
											src="assets/homeImages/logo/7.png" height="30" />&nbsp;&nbsp;&nbsp;鱿鱼海味</a>
								</li>
								<li class="bt3">
									<a href="#"><img src="assets/homeImages/logo/1.png"
											height="30" />&nbsp;&nbsp;&nbsp;其他食品</a>
								</li>
							</ul>
						</li>
						<li class="bt1">
							<a href="home.jsp">首页</a>
						</li>
						<li class="bt1">
							<a href="nut.html">坚果/炒货</a>
						</li>
						<li class="bt1">
							<a href="fruit.html">果干/蜜饯</a>
						</li>
						<li class="bt1">
							<a href="meat.html">肉类/熟食</a>
						</li>
						<li class="bt1">
							<a href="biscuit.html">饼干/膨化</a>
						</li>
						<li class="bt1">
							<a href="biscuit.html">糕点/点心</a>
						</li>
						<li class="bt1">
							<a href="fruit.html">素食/豆类</a>
						</li>
						<li class="bt1">
							<a href="seafood.html">鱿鱼/海味</a>
						</li>
					</ul>
				</div>
			</div>
			<div id="Content">
				<div id="Personality">
					<div class="Personality1">
						<a href="User.html">我的LINEFRIEND</a>
					</div>
					<div class="Personality2">
						<a href="User.jsp">个人主页</a>
					</div>
					<div class="Personality3">
						<ul>
							<li class="Personality4">
								<a href="">设置</a>
								<ul class="Personality41">
									<li class="Personality42">
										<a href="EditUserMessage.jsp">编辑个人信息</a>
									</li>
									<li class="Personality42">
										<a href="findAllAddress.action">管理收货地址</a>
									</li>
									<li class="Personality42">
										<a href="userOrder.action">查看订单记录</a>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
				<div class="clearfloat"></div>
				<div id="VerticalBar">
					<div class="VerticalBar1">
						<div class="VerticalBar11">
							<p>
								订单中心
							</p>
						</div>
						<div class="Same">
							<a href="UserOrder.html">我的订单</a>
						</div>
						<div class="Same">
							<a href="UserRecommendInfo.html">评价晒单</a>
						</div>
						<div class="Same"><a href="#">取消订单记录</a></div>
					</div>
					<div class="VerticalBar2">
						<div class="VerticalBar21">
							<p>
								我的收藏
							</p>
						</div>
						<div class="Same">
							<a href="UserFavorite.html">收藏的商品</a>
						</div>
					</div>
					  <div class="VerticalBar3">
                      <div class="VerticalBar41">
                         <p>客户服务</p>
                      </div>
                      <div class="Same">
			          <a href="PriceProtect.html">价格保护</a>
		              </div>
		              <div class="Same">
			          <a href="UserIssue.html">意见建议</a>
		              </div>
		              <div class="Same">
			           <a href="UserAdvice.html">购买咨询</a>
		               </div>
                    </div>
					<div class="VerticalBar5">
						<div class="VerticalBar51">
							<p>
								设置
							</p>
						</div>
						<div class="Same">
							<a href="EditUserMessage.jsp">个人信息</a>
						</div>
						<div class="Same">
							<a href="UserAddress.html">收货地址</a>
						</div>
					</div>
				</div>
				<div id="mymessage">
					<div class="mymessage">
						<div class="inf">
							<div class="info-lcol">
								<div class="u-pic">
									<img src="assets/homeImages/tx.png" width="66" height="66" />
								</div>
								<div class="info-m">
									<div class="u-name">
										<!--<a href="#">小李</a>
									--></div>
									<div class="u-level">
										<span class="rank r1"> <s></s><a href="#">注册会员</a> </span>
									</div>
								</div>
							</div>
							<div class="user-counts">
								<ul>
									<li>
										<div class="count-item">
											<a href="#"><img src="assets/homeImages/fk.png" /> <i
												class="count-icon count-icon01"></i> 待付款 <em id="waitPay">0</em>
											</a>
										</div>
									</li>
									<li>
										<div class="count-item">
											<a href="#"><img src="assets/homeImages/sh.png" /> <i
												class="count-icon count-icon02"></i> 待收货 <em
												id="waitReceive">0</em> </a>
										</div>
									</li>
						
									<li>
										<div class="count-item">
											<a href="#"><img src="assets/homeImages/pj.png" /> <i
												class="count-icon count-icon04"></i> 待评价 <em
												id="productCount">0</em> </a>
										</div>
									</li>
								</ul>
							</div>
							<div class="right">
								<div>
									<label>
										余额：
									</label>
									<a href="#">9999.00</a>
								</div>
								<div>
									<label></label>
									<a href="#"></a>
								</div>
							</div>
						</div>
					</div>
					<div class="clearfloat"></div>
					<div class="all">


						<form action="editUserInfo.action" method="post"  enctype="multipart/form-data">
							<div class="head">
								<b>基本信息</b>
							</div>
							<div class="item">
								<span class="label">昵称：</span>
								<input type="text" value="${user.nickName} " name="nickName"
									id="text1" maxlength="20" class="itxt">
							</div>
							<div class="item">
								<span class="label">真实姓名：</span>
								<input type="text" value="${user.trueName}" name="trueName"
									id="text2" maxlength="20" class="itxt">
							</div>
							
							<!-- 上传头像标签 -->
							<div class="item">
								<span class="label">上传头像：</span>
								<input type="file" name="headImage"
									id="text2" maxlength="20" class="itxt">
							</div>
							
							
							
							<div class="item">
								<span class="label">性别：</span>
								<label>
									<input type="radio" value="" name="sex">
									男
								</label>
								<label>
									<input type="radio" value="" name="sex">
									女
								</label>
							</div>
							
							
							<div class="item">
								<span class="label">生日：</span>
								<select id="province" name="year" class="selt mr5"
									value="${user.year }">
									<option value="1">
										1970
									</option>
									<option value="2">
										1971
									</option>
									<option value="3">
										1972
									</option>
									<option value="4">
										1973
									</option>
									<option value="5">
										1974
									</option>
									<option value="6">
										1975
									</option>
									<option value="7">
										1976
									</option>
									<option value="8">
										1977
									</option>
									<option value="9">
										1978
									</option>
									<option value="10">
										1979
									</option>
									<option value="11">
										1980
									</option>
									<option value="12">
										1981
									</option>
									<option value="13">
										1982
									</option>
									<option value="14">
										1983
									</option>
									<option value="15">
										1984
									</option>
									<option value="16">
										1985
									</option>
									<option value="17">
										1986
									</option>
									<option value="18">
										1987
									</option>
									<option value="19">
										1988
									</option>
									<option value="20">
										1989
									</option>
									<option value="21">
										1990
									</option>
									<option value="22">
										1991
									</option>
									<option value="23">
										1992
									</option>
									<option value="24">
										1993
									</option>
									<option value="25">
										1994
									</option>
									<option value="26">
										1995
									</option>
									<option value="27">
										1996
									</option>
									<option value="28">
										1997
									</option>
									<option value="29">
										1998
									</option>
									<option value="30">
										1999
									</option>
									<option value="31">
										2000
									</option>
									<option value="32">
										2001
									</option>
									<option value="42">
										2002
									</option>
									<option value="43">
										2003
									</option>
									<option value="84">
										2004
									</option>
								</select>
								<select id="city" class="selt mr5" name="mouth"
									value="${user.mouth }">
									<option value="72">
										1
									</option>
									<option value="2800">
										2
									</option>
									<option value="2801">
										3
									</option>
									<option value="2802">
										4
									</option>
									<option value="2803">
										5
									</option>
									<option value="2804">
										6
									</option>
									<option value="2805">
										7
									</option>
									<option value="2806">
										8
									</option>
									<option value="2807">
										9
									</option>
									<option value="2808">
										10
									</option>
									<option value="2809">
										11
									</option>
									<option value="2810">
										12
									</option>
								</select>
								<select id="county" name="day" class="selt mr5"
									value="${user.day }">
									<option value="2799">
										1
									</option>
									<option value="2819">
										2
									</option>
									<option value="2839">
										3
									</option>
									<option value="2840">
										4
									</option>
									<option value="4137">
										5
									</option>
									<option value="4139">
										6
									</option>
									<option value="4211">
										7
									</option>
									<option value="4212">
										8
									</option>
									<option value="9">
										9
									</option>
									<option value="10">
										10
									</option>
									<option value="11">
										11
									</option>
									<option value="12">
										12
									</option>
									<option value="13">
										13
									</option>
									<option value="14">
										14
									</option>
									<option value="15">
										15
									</option>
									<option value="16">
										16
									</option>
									<option value="17">
										17
									</option>
									<option value="18">
										18
									</option>
									<option value="19">
										19
									</option>
									<option value="20">
										20
									</option>
									<option value="21">
										21
									</option>
									<option value="22">
										22
									</option>
									<option value="23">
										23
									</option>
									<option value="24">
										24
									</option>
									<option value="25">
										25
									</option>
									<option value="26">
										26
									</option>
									<option value="27">
										27
									</option>
									<option value="28">
										28
									</option>
									<option value="29">
										29
									</option>
									<option value="30">
										30
									</option>
									<option value="31">
										31
									</option>
								</select>
							</div>
							<div class="item">
								<span class="label">身份证号：</span>
								<input type="text" value="${user.cardId }" id="text4"
									name="cardId">
							</div>
							<div class="item">
								<input id="submit" type="submit" class="tj" value="提交" />
							</div>
						</form>



					</div>
					<div class="clearfloat"></div>
				</div>
			</div>
			<div id="ban">
				<img src="assets/homeImages/ban2.jpg" width="1200" height="100"
					alt="间隔图片" />
			</div>
			<div id="foot_server">
				<dl>
					<dt>
						购物指南
					</dt>
					<dd>
						<a target="_blank" href="#">购物流程</a>
					</dd>
					<dd>
						<a target="_blank" href="#">会员介绍</a>
					</dd>
					<dd>
						<a target="_blank" href="#">生活旅行/团购</a>
					</dd>
					<dd>
						<a target="_blank" href="#">常见问题</a>
					</dd>
					<dd>
						<a target="_blank" href="#">联系客服</a>
					</dd>
				</dl>
				<dl>
					<dt>
						配送方式
					</dt>
					<dd>
						<a target="_blank" href="#">上门自提</a>
					</dd>
					<dd>
						<a target="_blank" href="#">211限时送达</a>
					</dd>
					<dd>
						<a target="_blank" href="#">配送服务查询</a>
					</dd>
					<dd>
						<a target="_blank" href="#">配送费收取标准</a>
					</dd>
					<dd>
						<a target="_blank" href="#">海外配送</a>
					</dd>
				</dl>
				<dl>
					<dt>
						支付方式
					</dt>
					<dd>
						<a target="_blank" href="#">货到付款</a>
					</dd>
					<dd>
						<a target="_blank" href="#">在线支付</a>
					</dd>
					<dd>
						<a target="_blank" href="#">分期付款</a>
					</dd>
					<dd>
						<a target="_blank" href="#">邮局汇款</a>
					</dd>
					<dd>
						<a target="_blank" href="#">公司转账</a>
					</dd>
				</dl>
				<dl>
					<dt>
						售后服务
					</dt>
					<dd>
						<a target="_blank" href="#">售后政策</a>
					</dd>
					<dd>
						<a target="_blank" href="#">价格保护</a>
					</dd>
					<dd>
						<a target="_blank" href="#">退款说明</a>
					</dd>
					<dd>
						<a target="_blank" href="#">退换货</a>
					</dd>
					<dd>
						<a target="_blank" href="#">取消订单</a>
					</dd>
				</dl>
				<div>
					<img src="assets/homeImages/foot.png" />
				</div>
			</div>
			<div id="footer">
				<hr />
				<br />
				<div class="footer1">
					<a href="ShoppingProcess.html"> 关于我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="#">联系我们</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="#">广告服务</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="#">LINEFRIEND社区</a>
				</div>
				<div class="footer2">
					<div class="copyright">
						Copyright&copy;&nbsp;&nbsp;2016-2017&nbsp;&nbsp;LINEFRIEND&nbsp;SC.com&nbsp;&nbsp;版权所有
					</div>
				</div>
			</div>
			<div class="totop" id="totop" onclick=
	bt();
>
				<img src="assets/homeImages/totop.png" width="21" height="65" />
			</div>
		</div>
	</body>
</html>
